package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.FeedbackEntity;

/**
 * Created by xu-jiaHui on 2017/4/10.
 */
public class FeedbackDto {
    private Integer feedBackId;
    private String feedBackContent;
    private String feedBackCreateTime;
    private Integer rapporteurId;
    private String rapporteurName;

    public String getRapporteurName() {
        return rapporteurName;
    }

    public void setRapporteurName(String rapporteurName) {
        this.rapporteurName = rapporteurName;
    }

    public Integer getFeedBackId() {
        return feedBackId;
    }

    public void setFeedBackId(Integer feedBackId) {
        this.feedBackId = feedBackId;
    }

    public String getFeedBackContent() {
        return feedBackContent;
    }

    public void setFeedBackContent(String feedBackContent) {
        this.feedBackContent = feedBackContent;
    }

    public String getFeedBackCreateTime() {
        return feedBackCreateTime;
    }

    public void setFeedBackCreateTime(String feedBackCreateTime) {
        this.feedBackCreateTime = feedBackCreateTime;
    }

    public Integer getRapporteurId() {
        return rapporteurId;
    }

    public void setRapporteurId(Integer rapporteurId) {
        this.rapporteurId = rapporteurId;
    }

    public FeedbackEntity toBean() {
        FeedbackEntity feedbackEntity = new FeedbackEntity();
        feedbackEntity.setFeedBackContent(feedBackContent);
        feedbackEntity.setFeedBackCreateTime(feedBackCreateTime);
        feedbackEntity.setRapporteurId(rapporteurId);
        return feedbackEntity;
    }
}
